package com.demo.database.data;

import java.io.Serializable;

/**
 * @功能
 * @创建时间 2019/12/27
 */
public class TDemoPosition implements Comparable<TDemoPosition>{
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    private Integer userId;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    private Integer roleId;

    @Override
    public int compareTo(TDemoPosition o) {

        return this.roleId>o.roleId? 1:-1;
    }


}
